package com.von.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.von.entity.User;
import com.von.param.UserParam;
import com.von.result.R;

/**
 * <p>
 * 用户表 服务类
 * </p>
 *
 * @author xiaosai
 * @since 2021-06-17
 */
public interface IUserService extends IService<User> {
    /**
     * 登录
     * @param param
     * @return
     */
    R<String> login(UserParam param);

    /**
     * 登出
     * @param token
     * @return
     */
    R<String> logout(String token);

    R<String> register(User user);
}
